package com.tongzhan.entity.religion;

import com.tongzhan.annotation.PrimaryKey;
import com.tongzhan.base.BaseModel;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * 场所职责实体类
 * @author wn
 * @date 2020/07/16
 */
@Data
@Document(collection = "Siteduties")
public class SiteDuties extends BaseModel {
    @Id
    @PrimaryKey
    private String _id;
    @Field("SitedutiesCode")
    private String siteDutiesCode;//场所职责编码
    @Field("SitedutiesName")
    private String siteDutiesName;//场所职责名称
}